Problem Note 19659: Parentheses in a group name cause exceptions or incorrect group assignments in the SASĀ® Information Delivery Portal
A group name that contains parentheses causes two different problems in the SAS® Information Delivery Portal
when you try to share a portal page. One type of problem occurs when you try to share a page to a group whose
name contains parentheses. The result is that the page is not shared to the desired location. Consider the following example:
- In SAS® Management Console, create a group. Give the group a name that contains parentheses,
for example, GroupNameWith(Parens).
- Log into the portal as the SAS Web Administrator, that is, saswbadm.
- Create a new page and share the new page to GroupNameWith(Parens). A message indicates that the page has been
added successfully, however, the page has been shared to PUBLIC instead of to the group called
GroupNameWith(Parens).
- If you Select Options ► Edit Properties for the page and try to change PUBLIC to GroupNameWith(Parens),
you do not receive an error or exception message, but the shared location remains PUBLIC.
The second type of problem occurs when you initially share the page to a group whose name is
valid (that is, containing no parentheses), and then try to change to a group whose name contains parentheses. The result is an exception.
-
In SAS® Management Console, create a group. Give the group a name that does not contain parentheses, for
example, GroupName.
-
Log into the portal as the SAS Web Administrator, that is, saswbadm.
-
Create a new page and share the new page to GroupName. The page is created and is, in fact,
shared to GroupName.
-
Select Options ► Edit Properties for the page and try to change the shared location to GroupNameWith(Parens).
You get the following exception message:
java.lang.NullPointerException at
com.sas.portal.metadataOperations.PermissionsMetadataFacade.moveLocation
(PermissionsMetadataFacade.java:2165) at
com.sas.portal.delegates.pages.UpdatePageDelegate.updatePageProperties(U
pdatePageDelegate.java:99) at
com.sas.portal.delegates.pages.PageFacade.updatePageProperties(PageFacad
e.java:163) at
com.sas.portal.actions.EditPagePropertiesAction.execute(EditPageProperti
esAction.java:117)
To avoid these issues, do not use parentheses in group names.
Operating System and Release Information
SAS System | SAS Information Delivery Portal | Microsoft Windows XP Professional | 2.0 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
64-bit Enabled HP-UX | 2.0 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
64-bit Enabled AIX | 2.0 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 2.0 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
HP-UX IPF | 2.0 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-05-15 16:28:55 |
Date Created: | 2007-03-02 10:27:58 |